package com.hzyb.oldpack.dao;

import java.util.List;

import javax.transaction.Transactional;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.hzyb.oldpack.model.VshopCarouselService;
@Repository
@Transactional
public interface VshopCarouselServiceDao extends CrudRepository<VshopCarouselService, String>{
	@Query("select picPath from VshopCarouselService where isActivate=?1 order by order")
	public List<VshopCarouselService> findByisActivate(String isActivate);
}
